package com.tanhua.manage.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum Industry implements IEnum<Integer> {
    HOTEL(1,"住宿"),
    MANUFACTORY(2,"制造"),
    HEALTH(3,"医疗"),
    REALESTATE(4,"地产"),
    TEACH(5,"教育"),
    ENTERTAINMENT(6,"文娱"),
    SERVICE(7,"服务"),
    LOGISTIC(8,"物流"),
    FINANCE(9,"金融"),
    COOK(10,"餐饮");

    private int value;
    private String desc;

    Industry(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;
    }
}
